This course introduces one to Oracle database programming using the PL/SQL programming language. One will learn the syntax, structure and features of the language. This textbook will also lay the foundation for the entire Solaris Oracle PL/SQL programming series, allowing one to progress from introductory topics to advanced application design and programming and finally onto writing complex high-performance applications. PL/SQL may be considered as one of the basic skill sets required for any Oracle professional, nearly as important as the SQL language itself.
Objectives The course begins with an explanation of the intent and usage of the PL/SQL programming language for database applications. Important reasons why one should incorporate PL/SQL modules within the application architecture right from the initial design and planning phase are presented. Next one learns how to begin building executable PL/SQL program units. One learns about each of the major segments of a working program and how these interact with each other during program execution, including the important error or exception handling capabilities of the language.
Type | Lesson Title | Time | Status |
---|---|---|---|
Introduction | 12 Min | ||
SELECTION & SETUP OF THE DATABASE INTERFACE • CONSIDERING AVAILABLE TOOLS, • SELECTING THE APPROPRIATE TOOL, • ORACLE NET DATABASE CONNECTIONS, • ORACLE PAAS DATABASE CONNECTIONS, • SETUP SQL DEVELOPER, • SETUP SQL*PLUS, • SETUP JDEVELOPER. | 2 Hours | ||
ABOUT BIND & SUBSTITUTION VARIABLES • USING SQL DEVELOPER, • USING SQL*PLUS AND CHOOSING A DATABASE PROGRAMMING LANGUAGE • WHAT IS DATABASE PROGRAMMING?, • PL/SQL PERFORMANCE ADVANTAGES, • INTEGRATION WITH OTHER LANGUAGES. | 3 Hours | ||
PL/SQL LANGUAGE FUNDAMENTALS • PL/SQL PROGRAM STRUCTURE, • LANGUAGE SYNTAX RULES, • EMBEDDING SQL, • WRITING READABLE CODE, • GENERATING DATABASE OUTPUT, • SQL*PLUS INPUT OF A PROGRAM BLOCK. | 2 Hours | ||
DECLARE SECTION • ABOUT THE DECLARE SECTION, • DECLARE PRIMITIVE TYPES, • DECLARATION OPTIONS, • NOT NULL, • CONSTANT, • DATA DICTIONARY INTEGRATION, • %TYPE, • DECLARE SIMPLE USER-DEFINED TYPES, • TYPE ... TABLE, • TYPE ... RECORD, • EXTENDED USER-DEFINED TYPES. | 2 Hours | ||
BEGIN SECTION • ABOUT THE BEGIN SECTION, • MANIPULATING PROGRAM DATA, • LOGIC CONTROL & BRANCHING, • GOTO, • LOOP, • IF-THEN-ELSE, • CASE AND EXCEPTION SECTION • ABOUT THE EXCEPTION SECTION, • ISOLATING THE SPECIFIC EXCEPTION, • PRAGMA EXCEPTION_INIT, • SQLCODE & SQLERRM Example, • SQL%ROWCOUNT & SELECT...INTO. | 3 Hours |